Hello developers,
we want to call the DOORS Client from an external tool, e.g. MS Excel. Until so far, we know how to start the DOORS Client by executing a command- or bat-file and even pass arguments like username, password and other data to it to execute a dxl script.
Now we want to know how can we call and execute a dxl script from an external tool like Excel, pass arguments to it and obtain results like a normal function call (e.g. string s_ret = function(string s_argument)). This function may be written in C, Python or VBA.., which "wraps" the underlying dxl code. As I found in the dxl help, there exist the two functions runFile() and runStr, which can be used from another programming language to execute dxl functions or dxl files. But until so far I have not found how a result (e.g. a string) from the dxl code can be passed back to the calling code written in another language.
Does anyone have an idea?
MarcoLuk - Fri Oct 27 10:10:52 EDT 2017 |
Re: How can I execute dxl code from external tool via API? Hi MarcoLuk, this has been discussed several times on this forum, using the forum search you should be able to get some ideas. Here are some posts dealing with this topic, there should be more.
https://www.ibm.com/developerworks/community/forums/html/topic?id=3ffb0dcd-ae28-48ce-bf40-7e917f6572c1
hope this helps,
|
Re: How can I execute dxl code from external tool via API? Mike.Scharnow - Fri Oct 27 12:40:21 EDT 2017 Hi MarcoLuk, this has been discussed several times on this forum, using the forum search you should be able to get some ideas. Here are some posts dealing with this topic, there should be more.
https://www.ibm.com/developerworks/community/forums/html/topic?id=3ffb0dcd-ae28-48ce-bf40-7e917f6572c1
hope this helps,
Hello Mike,
thank you very much! Meanwhile I also discovered the functions runStr and runFile in the dxl help page. There the example Shows how to call and communicate with the DOORS Client via those functions within Visual Basic.
Regards Marco |